<!DOCTYPE html>
<html lang="en">
<head>
    
    <meta charset="utf-8">
    <title>_rx - Zero Extension框架专用前端文档</title>
    
    <meta name="description" content="前端开发框架，官方地址：http://www.vertx-ui.cn" />
    
        <meta name="keywords" content="zero,zero-extension,vert.x" />
        <meta name="keyword" content="zero,zero-extension,vert.x" />
    
    
    
    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
    <link type="text/css" rel="stylesheet" href="styles/zero.css">
    <script src="scripts/nav.js" defer></script>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>

<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
  <div class="navicon"></div>
</label>

<label for="nav-trigger" class="overlay"></label>

<nav >
    
    <input type="text" id="nav-search" placeholder="Search" />
    
    <h2><a href="index.html">Home</a></h2><h2><a href="http://www.vertxai.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ai</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web-extension/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui Extension</a></h2><h2><a href="http://www.vertxui.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero UI</a></h2><h2><a href="http://www.vertxai.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Ai</a></h2><h2><a href="http://www.vertxup.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Framework</a></h2><h2><a href="http://www.origin-x.cn" target="_blank" class="menu-item" id="website_link" >「Home」Origin X Engine</a></h2><h3>Classes</h3><ul><li><a href="I.html">I</a><ul class='methods'><li data-type='method'><a href="I.html#.action">action</a></li><li data-type='method'><a href="I.html#.apis">apis</a></li><li data-type='method'><a href="I.html#.app">app</a></li><li data-type='method'><a href="I.html#.application">application</a></li><li data-type='method'><a href="I.html#.attributes">attributes</a></li><li data-type='method'><a href="I.html#.authorize">authorize</a></li><li data-type='method'><a href="I.html#.category">category</a></li><li data-type='method'><a href="I.html#.company">company</a></li><li data-type='method'><a href="I.html#.control">control</a></li><li data-type='method'><a href="I.html#.forest">forest</a></li><li data-type='method'><a href="I.html#.form">form</a></li><li data-type='method'><a href="I.html#.forms">forms</a></li><li data-type='method'><a href="I.html#.inited">inited</a></li><li data-type='method'><a href="I.html#.jobResume">jobResume</a></li><li data-type='method'><a href="I.html#.jobs">jobs</a></li><li data-type='method'><a href="I.html#.jobStart">jobStart</a></li><li data-type='method'><a href="I.html#.jobStop">jobStop</a></li><li data-type='method'><a href="I.html#.lists">lists</a></li><li data-type='method'><a href="I.html#.login">login</a></li><li data-type='method'><a href="I.html#.logout">logout</a></li><li data-type='method'><a href="I.html#.menus">menus</a></li><li data-type='method'><a href="I.html#.mission">mission</a></li><li data-type='method'><a href="I.html#.module">module</a></li><li data-type='method'><a href="I.html#.ops">ops</a></li><li data-type='method'><a href="I.html#.page">page</a></li><li data-type='method'><a href="I.html#.password">password</a></li><li data-type='method'><a href="I.html#.profile">profile</a></li><li data-type='method'><a href="I.html#.relation">relation</a></li><li data-type='method'><a href="I.html#.relationDelete">relationDelete</a></li><li data-type='method'><a href="I.html#.relationSave">relationSave</a></li><li data-type='method'><a href="I.html#.tabular">tabular</a></li><li data-type='method'><a href="I.html#.todo">todo</a></li><li data-type='method'><a href="I.html#.token">token</a></li><li data-type='method'><a href="I.html#.uri">uri</a></li><li data-type='method'><a href="I.html#.user">user</a></li><li data-type='method'><a href="I.html#.visitor">visitor</a></li></ul></li><li><a href="IxDialog.html">IxDialog</a></li><li><a href="IxTab.html">IxTab</a></li><li><a href="Login.html">Login</a></li><li><a href="Op.html">Op</a><ul class='methods'><li data-type='method'><a href="Op.html#.$opLogin">$opLogin</a></li><li data-type='method'><a href="Op.html#.$opLogout">$opLogout</a></li></ul></li><li><a href="X6.html">X6</a></li></ul><h3>Modules</h3><ul><li><a href="module-_channel.html">_channel</a><ul class='methods'><li data-type='method'><a href="module-_channel.html#.yiAssist">yiAssist</a></li><li data-type='method'><a href="module-_channel.html#.yiColumn">yiColumn</a></li><li data-type='method'><a href="module-_channel.html#.yiCompany">yiCompany</a></li><li data-type='method'><a href="module-_channel.html#.yiContainer">yiContainer</a></li><li data-type='method'><a href="module-_channel.html#.yiControl">yiControl</a></li><li data-type='method'><a href="module-_channel.html#.yiModule">yiModule</a></li><li data-type='method'><a href="module-_channel.html#.yiPartForm">yiPartForm</a></li><li data-type='method'><a href="module-_channel.html#.yiStandard">yiStandard</a></li><li data-type='method'><a href="module-_channel.html#.ylCard">ylCard</a></li><li data-type='method'><a href="module-_channel.html#.ylDynamic">ylDynamic</a></li><li data-type='method'><a href="module-_channel.html#.ylTabExtra">ylTabExtra</a></li><li data-type='method'><a href="module-_channel.html#.yoAction">yoAction</a></li><li data-type='method'><a href="module-_channel.html#.yoAmbient">yoAmbient</a></li><li data-type='method'><a href="module-_channel.html#.yoComponent">yoComponent</a></li><li data-type='method'><a href="module-_channel.html#.yoControl">yoControl</a></li><li data-type='method'><a href="module-_channel.html#.yoDynamic">yoDynamic</a></li><li data-type='method'><a href="module-_channel.html#.yoFilter">yoFilter</a></li><li data-type='method'><a href="module-_channel.html#.yoForm">yoForm</a></li><li data-type='method'><a href="module-_channel.html#.yoFormAdd">yoFormAdd</a></li><li data-type='method'><a href="module-_channel.html#.yoFormEdit">yoFormEdit</a></li><li data-type='method'><a href="module-_channel.html#.yoList">yoList</a></li><li data-type='method'><a href="module-_channel.html#.yoListBatch">yoListBatch</a></li><li data-type='method'><a href="module-_channel.html#.yoListExtra">yoListExtra</a></li><li data-type='method'><a href="module-_channel.html#.yoListOpen">yoListOpen</a></li><li data-type='method'><a href="module-_channel.html#.yoListSearch">yoListSearch</a></li><li data-type='method'><a href="module-_channel.html#.yoPolymorphism">yoPolymorphism</a></li><li data-type='method'><a href="module-_channel.html#.yoRender">yoRender</a></li><li data-type='method'><a href="module-_channel.html#.yoTable">yoTable</a></li><li data-type='method'><a href="module-_channel.html#.yoTabPage">yoTabPage</a></li><li data-type='method'><a href="module-_channel.html#.yuRouter">yuRouter</a></li></ul></li><li><a href="module-_constant.html">_constant</a><ul class='members'><li data-type='member'><a href="module-_constant.html#.Mode">Mode</a></li><li data-type='member'><a href="module-_constant.html#.Opt">Opt</a></li><li data-type='member'><a href="module-_constant.html#.V">V</a></li></ul></li><li><a href="module-_event.html">_event</a><ul class='methods'><li data-type='method'><a href="module-_event.html#.*fabricAnalyzer">*fabricAnalyzer</a></li><li data-type='method'><a href="module-_event.html#.etParallel">etParallel</a></li><li data-type='method'><a href="module-_event.html#.etPure">etPure</a></li><li data-type='method'><a href="module-_event.html#.etSequence">etSequence</a></li><li data-type='method'><a href="module-_event.html#.etUniform">etUniform</a></li></ul></li><li><a href="module-_function.html">_function</a><ul class='methods'><li data-type='method'><a href="module-_function.html#.mapAsyncDatum">mapAsyncDatum</a></li><li data-type='method'><a href="module-_function.html#.mapButtons">mapButtons</a></li><li data-type='method'><a href="module-_function.html#.mapFun">mapFun</a></li><li data-type='method'><a href="module-_function.html#.mapMeta">mapMeta</a></li><li data-type='method'><a href="module-_function.html#.mapUri">mapUri</a></li><li data-type='method'><a href="module-_function.html#.onApp">onApp</a></li><li data-type='method'><a href="module-_function.html#.onOp">onOp</a></li><li data-type='method'><a href="module-_function.html#.onRelation">onRelation</a></li><li data-type='method'><a href="module-_function.html#.onRelationIdentifiers">onRelationIdentifiers</a></li><li data-type='method'><a href="module-_function.html#.onRelationType">onRelationType</a></li><li data-type='method'><a href="module-_function.html#.onTree">onTree</a></li><li data-type='method'><a href="module-_function.html#.toArray">toArray</a></li><li data-type='method'><a href="module-_function.html#.toColor">toColor</a></li><li data-type='method'><a href="module-_function.html#.toDialog">toDialog</a></li><li data-type='method'><a href="module-_function.html#.toIdentifier">toIdentifier</a></li><li data-type='method'><a href="module-_function.html#.toModelId">toModelId</a></li><li data-type='method'><a href="module-_function.html#.toNamespace">toNamespace</a></li><li data-type='method'><a href="module-_function.html#.toUri">toUri</a></li><li data-type='method'><a href="module-_function.html#.upCondition">upCondition</a></li><li data-type='method'><a href="module-_function.html#.upList">upList</a></li><li data-type='method'><a href="module-_function.html#.upLoading">upLoading</a></li><li data-type='method'><a href="module-_function.html#.upQuery">upQuery</a></li><li data-type='method'><a href="module-_function.html#.upValue">upValue</a></li></ul></li><li><a href="module-_kernel.html">_kernel</a><ul class='methods'><li data-type='method'><a href="module-_kernel.html#.authData">authData</a></li><li data-type='method'><a href="module-_kernel.html#.authGroups">authGroups</a></li><li data-type='method'><a href="module-_kernel.html#.authKeySet">authKeySet</a></li><li data-type='method'><a href="module-_kernel.html#.authRequest">authRequest</a></li><li data-type='method'><a href="module-_kernel.html#.authRule">authRule</a></li><li data-type='method'><a href="module-_kernel.html#.authTpl">authTpl</a></li><li data-type='method'><a href="module-_kernel.html#.authTreeRes">authTreeRes</a></li><li data-type='method'><a href="module-_kernel.html#.configClick">configClick</a></li><li data-type='method'><a href="module-_kernel.html#.configColumn">configColumn</a></li><li data-type='method'><a href="module-_kernel.html#.configDialog">configDialog</a></li><li data-type='method'><a href="module-_kernel.html#.configGrid">configGrid</a></li><li data-type='method'><a href="module-_kernel.html#.configRelation">configRelation</a></li><li data-type='method'><a href="module-_kernel.html#.designer">designer</a></li><li data-type='method'><a href="module-_kernel.html#.dialog">dialog</a></li><li data-type='method'><a href="module-_kernel.html#.form">form</a></li><li data-type='method'><a href="module-_kernel.html#.inApi">inApi</a></li><li data-type='method'><a href="module-_kernel.html#.init">init</a></li><li data-type='method'><a href="module-_kernel.html#.inJob">inJob</a></li><li data-type='method'><a href="module-_kernel.html#.outApi">outApi</a></li><li data-type='method'><a href="module-_kernel.html#.outJob">outJob</a></li><li data-type='method'><a href="module-_kernel.html#.parserOfButton">parserOfButton</a></li><li data-type='method'><a href="module-_kernel.html#.parserOfColor">parserOfColor</a></li><li data-type='method'><a href="module-_kernel.html#.sexExAction">sexExAction</a></li><li data-type='method'><a href="module-_kernel.html#.sexExPlugin">sexExPlugin</a></li><li data-type='method'><a href="module-_kernel.html#.uiDialog">uiDialog</a></li><li data-type='method'><a href="module-_kernel.html#.uiTab">uiTab</a></li><li data-type='method'><a href="module-_kernel.html#.xuiContainer">xuiContainer</a></li><li data-type='method'><a href="module-_kernel.html#.xuiDecorator">xuiDecorator</a></li><li data-type='method'><a href="module-_kernel.html#.xuiGrid">xuiGrid</a></li></ul></li><li><a href="module-_rx.html">_rx</a><ul class='methods'><li data-type='method'><a href="module-_rx.html#.rsDirty">rsDirty</a></li><li data-type='method'><a href="module-_rx.html#.rsLoading">rsLoading</a></li><li data-type='method'><a href="module-_rx.html#.rsOpened">rsOpened</a></li><li data-type='method'><a href="module-_rx.html#.rsSubmitting">rsSubmitting</a></li><li data-type='method'><a href="module-_rx.html#.rsVisible">rsVisible</a></li><li data-type='method'><a href="module-_rx.html#.rx">rx</a></li><li data-type='method'><a href="module-_rx.html#.rxAssist">rxAssist</a></li><li data-type='method'><a href="module-_rx.html#.rxBatchDelete">rxBatchDelete</a></li><li data-type='method'><a href="module-_rx.html#.rxBatchEdit">rxBatchEdit</a></li><li data-type='method'><a href="module-_rx.html#.rxChannel">rxChannel</a></li><li data-type='method'><a href="module-_rx.html#.rxColumn">rxColumn</a></li><li data-type='method'><a href="module-_rx.html#.rxColumnMy">rxColumnMy</a></li><li data-type='method'><a href="module-_rx.html#.rxColumnSave">rxColumnSave</a></li><li data-type='method'><a href="module-_rx.html#.rxCondition">rxCondition</a></li><li data-type='method'><a href="module-_rx.html#.rxDelete">rxDelete</a></li><li data-type='method'><a href="module-_rx.html#.rxDirty">rxDirty</a></li><li data-type='method'><a href="module-_rx.html#.rxExport">rxExport</a></li><li data-type='method'><a href="module-_rx.html#.rxFilter">rxFilter</a></li><li data-type='method'><a href="module-_rx.html#.rxImport">rxImport</a></li><li data-type='method'><a href="module-_rx.html#.rxLoading">rxLoading</a></li><li data-type='method'><a href="module-_rx.html#.rxPostClose">rxPostClose</a></li><li data-type='method'><a href="module-_rx.html#.rxPostOpen">rxPostOpen</a></li><li data-type='method'><a href="module-_rx.html#.rxProjection">rxProjection</a></li><li data-type='method'><a href="module-_rx.html#.rxSearch">rxSearch</a></li><li data-type='method'><a href="module-_rx.html#.rxSelected">rxSelected</a></li><li data-type='method'><a href="module-_rx.html#.rxSubmitting">rxSubmitting</a></li><li data-type='method'><a href="module-_rx.html#.rxTabAdd">rxTabAdd</a></li><li data-type='method'><a href="module-_rx.html#.rxTabClose">rxTabClose</a></li><li data-type='method'><a href="module-_rx.html#.rxTabEdit">rxTabEdit</a></li><li data-type='method'><a href="module-_rx.html#.rxTabOpen">rxTabOpen</a></li><li data-type='method'><a href="module-_rx.html#.rxView">rxView</a></li></ul></li><li><a href="module-_smart.html">_smart</a><ul class='methods'><li data-type='method'><a href="module-_smart.html#.smartForm">smartForm</a></li><li data-type='method'><a href="module-_smart.html#.smartList">smartList</a></li></ul></li><li><a href="module-web-component.html">web-component</a><ul class='methods'><li data-type='method'><a href="module-web-component.html#.*ExAction">*ExAction</a></li><li data-type='method'><a href="module-web-component.html#.*ExButton">*ExButton</a></li><li data-type='method'><a href="module-web-component.html#.*ExDialog">*ExDialog</a></li><li data-type='method'><a href="module-web-component.html#.*ExEditorBatch">*ExEditorBatch</a></li><li data-type='method'><a href="module-web-component.html#.*ExEditorColumn">*ExEditorColumn</a></li><li data-type='method'><a href="module-web-component.html#.*ExEditorExport">*ExEditorExport</a></li><li data-type='method'><a href="module-web-component.html#.*ExEditorImport">*ExEditorImport</a></li><li data-type='method'><a href="module-web-component.html#.*ExNavigation">*ExNavigation</a></li><li data-type='method'><a href="module-web-component.html#.*ExSearch">*ExSearch</a></li><li data-type='method'><a href="module-web-component.html#.*ExSider">*ExSider</a></li><li data-type='method'><a href="module-web-component.html#.*ExSider">*ExSider</a></li><li data-type='method'><a href="module-web-component.html#.*ExTable">*ExTable</a></li><li data-type='method'><a href="module-web-component.html#.*IxChannel">*IxChannel</a></li><li data-type='method'><a href="module-web-component.html#.*IxDatabase">*IxDatabase</a></li><li data-type='method'><a href="module-web-component.html#.*IxDict">*IxDict</a></li><li data-type='method'><a href="module-web-component.html#.*IxIntegration">*IxIntegration</a></li><li data-type='method'><a href="module-web-component.html#.*IxMapping">*IxMapping</a></li><li data-type='method'><a href="module-web-component.html#.*IxRule">*IxRule</a></li><li data-type='method'><a href="module-web-component.html#.*IxService">*IxService</a></li><li data-type='method'><a href="module-web-component.html#.ExAccount">ExAccount</a></li><li data-type='method'><a href="module-web-component.html#.ExAdmin">ExAdmin</a></li><li data-type='method'><a href="module-web-component.html#.ExAdmin">ExAdmin</a></li><li data-type='method'><a href="module-web-component.html#.ExApps">ExApps</a></li><li data-type='method'><a href="module-web-component.html#.ExArbor">ExArbor</a></li><li data-type='method'><a href="module-web-component.html#.ExCategory">ExCategory</a></li><li data-type='method'><a href="module-web-component.html#.ExDeploy">ExDeploy</a></li><li data-type='method'><a href="module-web-component.html#.ExEntry">ExEntry</a></li><li data-type='method'><a href="module-web-component.html#.ExForm">ExForm</a></li><li data-type='method'><a href="module-web-component.html#.ExGraphicEditor">ExGraphicEditor</a></li><li data-type='method'><a href="module-web-component.html#.ExGraphicViewer">ExGraphicViewer</a></li><li data-type='method'><a href="module-web-component.html#.ExHistory">ExHistory</a></li><li data-type='method'><a href="module-web-component.html#.ExListComplex">ExListComplex</a></li><li data-type='method'><a href="module-web-component.html#.ExListOpen">ExListOpen</a></li><li data-type='method'><a href="module-web-component.html#.ExListQuery">ExListQuery</a></li><li data-type='method'><a href="module-web-component.html#.ExLogged">ExLogged</a></li><li data-type='method'><a href="module-web-component.html#.ExLogged">ExLogged</a></li><li data-type='method'><a href="module-web-component.html#.ExLogin">ExLogin</a></li><li data-type='method'><a href="module-web-component.html#.ExRecord">ExRecord</a></li><li data-type='method'><a href="module-web-component.html#.ExRegiment">ExRegiment</a></li><li data-type='method'><a href="module-web-component.html#.ExRelation">ExRelation</a></li><li data-type='method'><a href="module-web-component.html#.ExService">ExService</a></li><li data-type='method'><a href="module-web-component.html#.ExSubmit">ExSubmit</a></li><li data-type='method'><a href="module-web-component.html#.ExTab">ExTab</a></li><li data-type='method'><a href="module-web-component.html#.ExTabular">ExTabular</a></li><li data-type='method'><a href="module-web-component.html#.ExTrackField">ExTrackField</a></li><li data-type='method'><a href="module-web-component.html#.ExWizard">ExWizard</a></li><li data-type='method'><a href="module-web-component.html#.OxAnchor">OxAnchor</a></li><li data-type='method'><a href="module-web-component.html#.OxCard">OxCard</a></li><li data-type='method'><a href="module-web-component.html#.OxCategory">OxCategory</a></li><li data-type='method'><a href="module-web-component.html#.OxCi">OxCi</a></li><li data-type='method'><a href="module-web-component.html#.OxForm">OxForm</a></li><li data-type='method'><a href="module-web-component.html#.OxHistory">OxHistory</a></li><li data-type='method'><a href="module-web-component.html#.OxList">OxList</a></li><li data-type='method'><a href="module-web-component.html#.OxModule">OxModule</a></li><li data-type='method'><a href="module-web-component.html#.OxRelation">OxRelation</a></li><li data-type='method'><a href="module-web-component.html#.OxTab">OxTab</a></li><li data-type='method'><a href="module-web-component.html#.OxTopology">OxTopology</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#@ox">@ox</a></li></ul>
</nav>

<div id="main">
    
    <h1 class="page-title">_rx</h1>
    

    




<section>

<header>
    
        
            
        
    
</header>

<article>
    
        <div class="container-overview">
        
            
                <div class="description usertext"><h1>函数模块</h1>
<h2>1.函数列表</h2>
<p>（略）参考<code>_rx</code>处文档。</p>
<h2>2.基本介绍</h2>
<h3>2.1.函数子规范</h3>
<ol>
<li>rs全称是：Runtime State，为状态函数生成器。</li>
<li>rx全称是：Runtime Executor，是执行函数生成器。</li>
<li><code>Ex.rx(reference)</code>调用后则可直接通过内置API调用上层的<code>rx/rs</code>函数，它不管生成，主管调用。</li>
<li>上层函数：先从状态中读取函数，若无法读取，则从属性中读取，状态中优先级更高。</li>
</ol>
<h3>2.2.回调函数表</h3>
<p>回调函数是Extension扩展模块提供给开发人员专用的回调扩展接口，常用回调如下：</p>
<table>
<thead>
<tr>
<th style="text-align:left">函数名</th>
<th style="text-align:left">触发时间和含义</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">rxPostOpen</td>
<td style="text-align:left">打开Tab页之后的回调</td>
</tr>
<tr>
<td style="text-align:left">rxPostClose</td>
<td style="text-align:left">关闭Tab页之后的回调</td>
</tr>
<tr>
<td style="text-align:left">rxPostSelected</td>
<td style="text-align:left">选中记录后的回调</td>
</tr>
<tr>
<td style="text-align:left">rxPostDelete</td>
<td style="text-align:left">删除数据之后的回调</td>
</tr>
<tr>
<td style="text-align:left">rxPostEdit</td>
<td style="text-align:left">编辑数据之后的回调</td>
</tr>
<tr>
<td style="text-align:left">rxViewSwitch</td>
<td style="text-align:left">视图改变之后的回调（主要针对页签状态变更）</td>
</tr>
</tbody>
</table>
<blockquote>
<p>其他回调后续补充……</p>
</blockquote></div>
            

            
                




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>
































            
        
        </div>
    

    

    

    
    
    

     

    

    

    
        <h3 class="subsection-title">Methods</h3>

        
            

    

    <h4 class="name" id=".rsDirty"><span class="type-signature">(static) </span>rsDirty<span class="signature">(reference, dirty)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rsDirty</code></h2>
<h3>1.基本介绍</h3>
<p>$dirty 生成函数，最终会根据传入的<code>dirty</code>生成不同函数，等价于生成：</p>
<pre class="prettyprint source lang-js"><code>// 修改组件脏状态
() => reference.setState({$dirty: true});

// 修改组件非脏状态
() => reference.setState({$dirty: false});
</code></pre>
<h3>2.核心</h3>
<h4>2.1.脏状态</h4>
<p><strong>脏状态</strong>表示当前列表会等待自动刷新，直到列表状态为非脏的状态。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            
                <td class="default">
                
                </td>
            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>dirty</code></td>
            

            <td class="type">
            
                
<span class="param-type">boolean</span>


            
            </td>

            

            
                <td class="default">
                
                    <code>true</code>
                
                </td>
            

            <td class="description last"><p>打开或关闭</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rsLoading"><span class="type-signature">(static) </span>rsLoading<span class="signature">(reference, loading)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rsLoading</code></h2>
<h3>1.基本介绍</h3>
<p>$loading 生成函数，根据传入的<code>loading</code>生成不同函数，等价于生成：</p>
<pre class="prettyprint source lang-js"><code>// 修改组件加载状态
() => reference.setState({$loading: true});

// 修改组件加载完成状态
() => reference.setState({$loading: false});
</code></pre>
<h3>2.核心</h3>
<h4>2.1.手动回调</h4>
<p>当一个组件处于加载状态，它并不会自动执行加载，和<code>$dirty</code>有本质上的区别，但是开发人员可在某些特定的操作中执行特定加载回调手动改变状态。</p>
<h4>2.2.高频函数</h4>
<p>通常在修改<code>$loading</code>时会调用内部规范的<code>doLoading</code>专用函数，用于修改加载以及加载完成的状态。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            
                <td class="default">
                
                </td>
            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>loading</code></td>
            

            <td class="type">
            
                
<span class="param-type">boolean</span>


            
            </td>

            

            
                <td class="default">
                
                    <code>true</code>
                
                </td>
            

            <td class="description last"><p>打开或关闭</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rsOpened"><span class="type-signature">(static) </span>rsOpened<span class="signature">(reference, opened)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rsOpened</code></h2>
<h3>1.基本介绍</h3>
<p>$opened 生成函数，根据最终传入的<code>opened</code>生成不同函数，等价于生成:</p>
<pre class="prettyprint source lang-js"><code>// 修改组件打开状态
() => reference.setState({$opened: true});

// 修改组件关闭状态
() => reference.setState({$opened: false});
</code></pre>
<h3>2.核心</h3>
<h4>2.1.使用场景</h4>
<p>这个函数通常只在<code>&lt;Tabs/&gt;</code>组件中使用，修改了<code>$opened=true</code>时，可直接打开页签，而点击关闭后，则直接将页签关掉。</p>
<p><code>$opened</code>和<code>$visible</code>为最初设计的不同场景的打开和关闭状态，而后续很多组件直接使用了<code>$visible</code>而忽略掉<code>$opened</code>。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
            </td>

            

            
                <td class="default">
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>opened</code></td>
            

            <td class="type">
            
            </td>

            

            
                <td class="default">
                
                    <code>true</code>
                
                </td>
            

            <td class="description last"></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        


<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rsSubmitting"><span class="type-signature">(static) </span>rsSubmitting<span class="signature">(reference, submitting)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rsSubmitting</code></h2>
<h3>1.基本介绍</h3>
<p>$submitting 生成函数，根据传入的<code>submitting</code>生成不同函数，等价于生成：</p>
<pre class="prettyprint source lang-js"><code>// 修改组件提交状态
() => reference.setState({$submitting: true});

// 修改组件提交完成状态
() => reference.setState({$submitting: false});
</code></pre>
<h3>2.核心</h3>
<h4>2.1.回调</h4>
<p>提交状态的切换主要应用于防重复提交，为表单重复提交提供一个过渡功能。</p>
<h4>2.2.高频函数</h4>
<p>通常在修改<code>$submitting</code>时会调用内部规范的<code>doSubmitting</code>专用函数，用于修改加载以及加载完成的状态。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            
                <td class="default">
                
                </td>
            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>submitting</code></td>
            

            <td class="type">
            
                
<span class="param-type">boolean</span>


            
            </td>

            

            
                <td class="default">
                
                    <code>true</code>
                
                </td>
            

            <td class="description last"><p>打开或关闭</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rsVisible"><span class="type-signature">(static) </span>rsVisible<span class="signature">(reference, visible)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rsVisible</code></h2>
<h3>1.基本介绍</h3>
<p>$visible 生成函数，根据传入的<code>visible</code>生成不同函数，等价于生成：</p>
<pre class="prettyprint source lang-js"><code>// 修改组件为显示
() => reference.setState({$visible: true});

// 修改组件为隐藏
() => reference.setState({$visible: false});
</code></pre>
<h3>2.核心</h3>
<h4>2.1.常用组件</h4>
<p>该状态为窗口专用状态，通常应用于：</p>
<ul>
<li><code>&lt;Modal/&gt;</code>：弹出窗口</li>
<li><code>&lt;Drawer/&gt;</code>：抽屉窗口</li>
<li><code>&lt;Popover/&gt;</code>：浮游窗口</li>
</ul>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            
                <td class="default">
                
                </td>
            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>visible</code></td>
            

            <td class="type">
            
                
<span class="param-type">boolean</span>


            
            </td>

            

            
                <td class="default">
                
                    <code>true</code>
                
                </td>
            

            <td class="description last"><p>打开或关闭</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rx"><span class="type-signature">(static) </span>rx<span class="signature">(reference, off)</span><span class="type-signature"> &rarr; {Object}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「标准」<code>Ex.rx</code></h2>
<h3>1.基本介绍</h3>
<p>主要用于调用上层函数</p>
<ol>
<li>调用 props 中的某个函数</li>
<li>调用 state 中的某个函数</li>
<li>最后执行该函数</li>
</ol>
<pre class="prettyprint source lang-js"><code>    return Ex.I.todo(request, false)
         .then(Ux.ajax2Dialog(ref, buildConfig(ref, &quot;rejected&quot;), true))

             // 调用代码
             .then(response => Ex.rx(reference).close(response));
</code></pre>
<h3>2.函数列表</h3>
<table>
<thead>
<tr>
<th style="text-align:left">函数名</th>
<th style="text-align:left">调用函数</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">assistIn</td>
<td style="text-align:left">rxAssist</td>
<td style="text-align:left">辅助数据输入函数</td>
</tr>
<tr>
<td style="text-align:left">assistOut</td>
<td style="text-align:left">rxAssist</td>
<td style="text-align:left">辅助数据输出函数</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxBatchDelete</td>
<td style="text-align:left">（批删）无主动调用接口</td>
</tr>
<tr>
<td style="text-align:left">batchEdit</td>
<td style="text-align:left">rxBatchEdit</td>
<td style="text-align:left">批量更新专用函数</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxChannel</td>
<td style="text-align:left">直接调用顶层通道方法，触发Fabric事件引擎</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxColumn</td>
<td style="text-align:left">读取当前模型相关的所有列集（全视图）</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxColumnMy</td>
<td style="text-align:left">读取当前模型我的视图列（子视图）</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxColumnSave</td>
<td style="text-align:left">保存我的视图列</td>
</tr>
<tr>
<td style="text-align:left">condition</td>
<td style="text-align:left">rxCondition</td>
<td style="text-align:left">条件处理专用函数</td>
</tr>
<tr>
<td style="text-align:left">delete</td>
<td style="text-align:left">rxDelete</td>
<td style="text-align:left">单行删除专用函数</td>
</tr>
<tr>
<td style="text-align:left">dirty</td>
<td style="text-align:left">doDirty</td>
<td style="text-align:left">脏状态处理函数</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxDirty</td>
<td style="text-align:left">等价于 $dirty = true，doDirty的一半</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxExport</td>
<td style="text-align:left">导出函数专用</td>
</tr>
<tr>
<td style="text-align:left">filter</td>
<td style="text-align:left">rxFilter</td>
<td style="text-align:left">查询条件专用函数</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxImport</td>
<td style="text-align:left">导入函数专用</td>
</tr>
<tr>
<td style="text-align:left">loading</td>
<td style="text-align:left">doLoading</td>
<td style="text-align:left">加载状态处理函数</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxLoading</td>
<td style="text-align:left">等价于 $loading = true, doLoading的一半</td>
</tr>
<tr>
<td style="text-align:left">closePost</td>
<td style="text-align:left">rxPostClose</td>
<td style="text-align:left">「外围生成」关闭Tab页后的执行函数。</td>
</tr>
<tr>
<td style="text-align:left">openPost</td>
<td style="text-align:left">rxPostOpen</td>
<td style="text-align:left">「外围生成」 打开Tab页后的执行函数。</td>
</tr>
<tr>
<td style="text-align:left">projection</td>
<td style="text-align:left">rxProjection</td>
<td style="text-align:left">列过滤专用函数</td>
</tr>
<tr>
<td style="text-align:left">search</td>
<td style="text-align:left">rxSearch</td>
<td style="text-align:left">搜索专用函数</td>
</tr>
<tr>
<td style="text-align:left">selected</td>
<td style="text-align:left">rxSelected</td>
<td style="text-align:left">多选专用函数</td>
</tr>
<tr>
<td style="text-align:left">submitting</td>
<td style="text-align:left">doSubmitting</td>
<td style="text-align:left">提交状态专用函数</td>
</tr>
<tr>
<td style="text-align:left">submittingStrict</td>
<td style="text-align:left">doSubmitting</td>
<td style="text-align:left">提交状态专用函数（带错误信息）</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxTabAdd</td>
<td style="text-align:left">添加Tab页</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxTabClose</td>
<td style="text-align:left">关闭Tab页</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxTabEdit</td>
<td style="text-align:left">编辑Tab页</td>
</tr>
<tr>
<td style="text-align:left">无</td>
<td style="text-align:left">rxTabOpen</td>
<td style="text-align:left">打开Tab页</td>
</tr>
<tr>
<td style="text-align:left">open</td>
<td style="text-align:left">rxOpen</td>
<td style="text-align:left">「外围生成」 打开页面专用函数</td>
</tr>
<tr>
<td style="text-align:left">close</td>
<td style="text-align:left">rxClose</td>
<td style="text-align:left">「外围生成」 关闭页面专用函数</td>
</tr>
<tr>
<td style="text-align:left">view</td>
<td style="text-align:left">rxView</td>
<td style="text-align:left">单行查看专用函数</td>
</tr>
</tbody>
</table>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            
                <td class="default">
                
                </td>
            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>off</code></td>
            

            <td class="type">
            
                
<span class="param-type">boolean</span>


            
            </td>

            

            
                <td class="default">
                
                    <code>false</code>
                
                </td>
            

            <td class="description last"><p>关闭错误信息</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>返回最终对象</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Object</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxAssist"><span class="type-signature">(static) </span>rxAssist<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「1阶」<code>Ex.rxAssist</code></h2>
<h3>1.基本介绍</h3>
<p>rxAssist用于更改组件状态state中的专用辅助数据，它支持两种模式：</p>
<ol>
<li>添加/更新：使用添加更新模式<code>deleted=false</code>（默认），直接追加和更新辅助数据信息。</li>
<li>删除：使用删除模式<code>deleted=true</code>（传入），直接删除输入记录及。</li>
</ol>
<h3>2.下层调用</h3>
<h4>2.1.调用代码</h4>
<pre class="prettyprint source lang-js"><code>// 执行 deleted = false 添加更新辅助数据
Ex.rx(reference).assistIn(...);

// 执行 deleted = true 删除更新辅助数据
Ex.rx(reference).assistOut(...);
</code></pre>
<blockquote>
<p>rx系列方法和rs系列方法并不对等，因为rs是为了生成函数专用方法，有可能一个方法生成两个函数。</p>
</blockquote>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxBatchDelete"><span class="type-signature">(static) </span>rxBatchDelete<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxBatchDelete</code></h2>
<h3>1.基本介绍</h3>
<p>批量删除函数专用，根据options中的批量删除配置<code>ajax.batch.delete.uri</code>执行批量删除函数，该函数会触发批量操作。</p>
<h3>2.使用场景</h3>
<h4>2.1.调用代码</h4>
<p>（无）</p>
<h4>2.2.操作执行</h4>
<ol>
<li>调用<code>Ux.sexBatch</code>从批量选择数据中读取被选择的主键集。</li>
<li>使用被选中的主键集调用批量删除接口执行批量删除。</li>
</ol>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxBatchEdit"><span class="type-signature">(static) </span>rxBatchEdit<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxBatchEdit</code></h2>
<h3>1.基本介绍</h3>
<p>批量更新函数专用，根据options中批量更新配置<code>ajax.batch.update.uri</code>执行批量更新函数，该函数会触发批量操作。</p>
<h3>2.下层调用</h3>
<h4>2.1.调用代码</h4>
<pre class="prettyprint source lang-js"><code>// 调用 rxBatchEdit 方法
Ex.rx(reference).batchEdit(...);
</code></pre>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxChannel"><span class="type-signature">(static) </span>rxChannel<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「引擎」<code>Ex.rxChannel</code></h2>
<h3>1.基本介绍</h3>
<p><code>rxChannel</code>为顶层穿透函数，主要用于执行Extension中<code>Origin X</code>引擎专用，在整个<code>Ox</code>系列的组件中，组件和组件之间的调用流程使用Channel架构，而在Channel内部执行事件集合，它可以支持：</p>
<ul>
<li>触发事件</li>
<li>一次事件</li>
<li>并行事件</li>
<li>串行事件</li>
</ul>
<p>组件本身调用其他组件过程时，除了执行内部方法以外，还执行<code>rxChannel</code>穿透调用。</p>
<h3>2.核心</h3>
<h4>2.1.Fabric</h4>
<ol>
<li>该函数会读取state中的<code>$fabric</code>变量，触发Fabric引擎。</li>
<li>rxChannel通道函数多为抽象函数，本身不带任何代码逻辑，而是根据传入的Fabric配置执行不同代码逻辑。</li>
<li>代码逻辑以片段为主，定义了片段后，根据片段配置执行下一步操作。</li>
<li>其设计思路近似于<code>汇编</code>，用代码节点来编织。</li>
</ol>
<h4>2.2.rxChannel</h4>
<p>rxChannel方法会更新<code>$fabric</code>的变更信息，一旦变更，则会通知所有和当前<code>$fabric</code>相关的组件提示数据和配置产生了变化。</p>
<p>如下图：</p>
<pre class="prettyprint source lang-shell"><code>                   ComponentA   ----- rxChannel触发点
                   /        \
            ComponentB     ComponentC
            /        \
      ComponentD    ComponentE
</code></pre>
<p>例如上述结构中：</p>
<ol>
<li>rxChannel实际上更改的是ComponentA组件中的<code>$fabric</code>状态值。</li>
<li>被更改的<code>$fabric</code>会以ComponentA为父节点，向所有子节点传递。</li>
<li>子节点中会有专用方法判断哪一部分的<code>$fabric</code>更改执行自我刷新，等价于子节点订阅了<code>$fabric</code>中的部分数据。</li>
</ol>
<p>一旦配置了行为过后，这些行为就实现了相互影响和编连，对于不编程只配置的程序逻辑而言，Fabric就是核心。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用。</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>返回 $fabric 专用函数。</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxColumn"><span class="type-signature">(static) </span>rxColumn<span class="signature">(reference, config)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxColumn</code></h2>
<h3>1.基本介绍</h3>
<p>全列视图函数专用，直接根据<code>options</code>中的配置<code>ajax.column.full</code>执行模型下的全列读取，读取模式分：</p>
<ol>
<li>静态列<code>dynamic.column = false</code>（默认值），直接返回配置列信息，前端静态列配置。</li>
<li>动态列<code>dynamic.column = true</code>，直接返回动态配置列信息，动态列配置。</li>
</ol>
<h3>2.核心</h3>
<h4>2.1.增强列表</h4>
<p>增强视图主要包含三个核心功能：</p>
<ol>
<li>读取模型关联视图全列。</li>
<li>读取定义好的我的视图列。</li>
<li>针对2中读取的我的试图列进行保存，创建新视图（目前版本只支持单视图）。</li>
</ol>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>config</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last"><p>列配置</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxColumnMy"><span class="type-signature">(static) </span>rxColumnMy<span class="signature">(reference, config)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxColumnMy</code></h2>
<h3>1.基本介绍</h3>
<p>我的视图函数专用，直接根据<code>options</code>中的配置<code>ajax.column.my</code>执行模型下的我的视图列读取。</p>
<ol>
<li>我的视图列不执行双模式，所有模式都可支持我的视图保存。</li>
<li>目前只有每个列表单视图操作，后期扩展多视图模式。</li>
</ol>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>config</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last"><p>列配置</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxColumnSave"><span class="type-signature">(static) </span>rxColumnSave<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxColumnSave</code></h2>
<h3>1.基本介绍</h3>
<p>该函数为<code>rxColumnMy</code>的逆函数，此处不做多余说明，根据<code>options</code>中的<code>ajax.column.save</code>执行我的视图保存。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxCondition"><span class="type-signature">(static) </span>rxCondition<span class="signature">(reference, isClear)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxCondition</code></h2>
<h3>1.基本介绍</h3>
<p>条件专用函数：清空设置双用，该函数主要针对列过滤条件执行操作</p>
<ol>
<li>设置流程：更新$condition</li>
<li>清空流程：执行<code>Ux.qrClear</code>清空操作（<code>__DELETE__</code>条件会被清除）</li>
</ol>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            
                <td class="default">
                
                </td>
            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>isClear</code></td>
            

            <td class="type">
            
                
<span class="param-type">boolean</span>


            
            </td>

            

            
                <td class="default">
                
                    <code>false</code>
                
                </td>
            

            <td class="description last"><p>是否清除查询条件</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxDelete"><span class="type-signature">(static) </span>rxDelete<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxDelete</code></h2>
<h3>1.基本介绍</h3>
<p>执行<code>options</code>配置中的<code>ajax.delete.uri</code>专用函数，从后端执行删除。</p>
<h3>2.下层调用</h3>
<h4>2.1.调用代码</h4>
<pre class="prettyprint source lang-js"><code>Ex.rx(reference).delete(...);
</code></pre>
<h4>2.2.删除模式</h4>
<p>删除模式主要在服务端实现而不是客户端</p>
<ol>
<li>物理删除：SQL语句执行DELETE语句真实删除数据（可以删除同时做备份和变更历史）。</li>
<li>逻辑删除：仅仅执行UPDATE语句更新某个标记位数据。</li>
</ol>
<h4>2.3.删除的影响</h4>
<p>对列表而言，如果删除了某条记录而这条记录又在选择项中，则需要将<code>$selected</code>变量中选中项移除。</p>
<h4>2.4.删除回调</h4>
<p>系统提供了<code>rxPostDelete</code>函数用于执行删除回调操作，该操作位于删除之后执行（编程回调）。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxDirty"><span class="type-signature">(static) </span>rxDirty<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「1阶」<code>Ex.rxDirty</code></h2>
<h3>1.基本介绍</h3>
<p>脏状态切换函数，设置当前组件的<code>$dirty = true</code>，该函数和<code>rsDirty</code>对应：</p>
<ol>
<li>rsDirty负责生成可改变脏状态的二阶函数。</li>
<li>rxDirty则直接执行<code>$dirty = true</code>的一阶函数操作。</li>
</ol>
<blockquote>
<p>第二参数为可合并的state状态数据，最终会调用<code>Object.assign</code>将附加状态合并到组件状态中。</p>
</blockquote>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxExport"><span class="type-signature">(static) </span>rxExport<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxExport</code></h2>
<h3>1.基本介绍</h3>
<p>导出函数专用，根据<code>options</code>中的<code>ajax.export.uri</code>执行导出操作。</p>
<ol>
<li>导出函数必须传入基础参数集：标识应用、模型、查询条件。</li>
<li>查询条件直接走查询引擎，内置调用<code>Ux.ajaxPull</code>的下载函数（带权限）。</li>
</ol>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxFilter"><span class="type-signature">(static) </span>rxFilter<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxFilter</code></h2>
<h3>1.基本介绍</h3>
<p>基础搜索 / 高级搜索专用函数，该函数会包含两部分输入：</p>
<ol>
<li>执行过查询条件处理过后的过滤条件<code>$filters</code>。</li>
<li>原始查询条件（规范化之前）<code>$filtersRaw</code>（可选）。</li>
</ol>
<h3>2.核心</h3>
<h4>2.1.$filtersRaw</h4>
<p>在某些特定场景中，原始查询条件可追踪当前组件专用查询条件集合，所以除了规范化过后的查询条件以外，该函数提供了二义性输入。</p>
<h4>2.2.$filters</h4>
<p>$filters状态变量在列表组件中只存在于基础搜索（搜索框）和高级搜索（查询表单），列过滤的搜索条件有另外的变量来完成。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxImport"><span class="type-signature">(static) </span>rxImport<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxImport</code></h2>
<h3>1.基本介绍</h3>
<p>导入专用函数，根据<code>options</code>中的<code>ajax.import.uri</code>执行导入操作。</p>
<ol>
<li>导入函数必须传入<code>File</code>参数（上传文件）</li>
<li>内置调用<code>Ux.ajaxUpload</code>的上传函数（带权限）。</li>
</ol>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxLoading"><span class="type-signature">(static) </span>rxLoading<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「1阶」<code>Ex.rxLoading</code></h2>
<h3>1.基本介绍</h3>
<p>加载状态切换函数，设置当前组件中<code>$loading = true</code>，该函数和<code>rsLoading</code>对应：</p>
<ol>
<li>rsLoading负责生成可改变加载状态的二阶函数。</li>
<li>rxLoading则直接生成<code>$loading = true</code>的一阶函数操作。</li>
</ol>
<blockquote>
<p>第二参数为可合并的state状态数据，最终会调用<code>Object.assign</code>将附加状态合并到组件状态中。</p>
</blockquote>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxPostClose"><span class="type-signature">(static) </span>rxPostClose<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「1阶」<code>Ex.rxPostClose</code></h2>
<h3>1.基本介绍</h3>
<p>打开Tab页后置回调函数，设置 $opened = true。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxPostOpen"><span class="type-signature">(static) </span>rxPostOpen<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「1阶」<code>Ex.rxPostClose</code></h2>
<h3>1.基本介绍</h3>
<p>关闭Tab页后置回调函数，设置 $opened = false。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxProjection"><span class="type-signature">(static) </span>rxProjection<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxProjection</code></h2>
<h3>1.基本介绍</h3>
<p>根据系统中存储的<code>$columns/$columnsMy</code>执行视图层的列过滤专用函数，该函数内部存储了<strong>全列</strong>，根据传入的试图列构造新的查询视图。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxSearch"><span class="type-signature">(static) </span>rxSearch<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxSearch</code></h2>
<h3>1.基本介绍</h3>
<p>搜索专用函数（列表组件主函数），它根据<code>ajax.search.uri</code>执行搜索，参数格式如：</p>
<pre class="prettyprint source lang-json"><code>{
    &quot;criteria&quot;: {},
    &quot;sorter&quot;: [],
    &quot;pager&quot;:{
        &quot;page&quot;: 1,
        &quot;size&quot;: 10
    },
    &quot;projection&quot;: []
}
</code></pre>
<p>参数格式参考Qr的格式语法。</p>
<h3>2.核心</h3>
<p>内置调用了<code>switcher</code>执行从状态state到属性props中的函数检索，检索合法时调用该函数，无法找到函数则抛出异常。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxSelected"><span class="type-signature">(static) </span>rxSelected<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxSelected</code></h2>
<h3>1.基本介绍</h3>
<p>多选专用函数，该函数的基础封装仅执行一个操作，调用上层的<code>rxPostSelected</code>回调函数。</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxSubmitting"><span class="type-signature">(static) </span>rxSubmitting<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「1阶」<code>Ex.rxSubmitting</code></h2>
<h3>1.基本介绍</h3>
<p>加载状态切换函数，设置当前组件中<code>$submitting = true</code>，该函数和<code>rsSubmitting</code>对应：</p>
<ol>
<li>rsSubmitting负责生成可改变提交状态的二阶函数。</li>
<li>rxSubmitting则直接生成<code>$submitting = true</code>的一阶函数操作。</li>
</ol>
<blockquote>
<p>第二参数为可合并的state状态数据，最终会调用<code>Object.assign</code>将附加状态合并到组件状态中。</p>
</blockquote>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxTabAdd"><span class="type-signature">(static) </span>rxTabAdd<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxTabAdd</code></h2>
<p>新增 Tab 页专用函数</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxTabClose"><span class="type-signature">(static) </span>rxTabClose<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxTabClose</code></h2>
<p>关闭 Tab 页专用函数</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxTabEdit"><span class="type-signature">(static) </span>rxTabEdit<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxTabEdit</code></h2>
<p>编辑 Tab 页专用函数</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxTabOpen"><span class="type-signature">(static) </span>rxTabOpen<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxTabOpen</code></h2>
<p>打开 Tab 页专用函数</p>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".rxView"><span class="type-signature">(static) </span>rxView<span class="signature">(reference)</span><span class="type-signature"> &rarr; {function}</span></h4>

    




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>





<div class="description usertext">
    <h2>「2阶」<code>Ex.rxView</code></h2>
<h3>1.基本介绍</h3>
<p>查询记录专用函数，用于查询当前系统中的记录（双击选中），直接执行<code>options</code>中的<code>ajax.get.uri</code>数据读取。</p>
<h3>版本更新</h3>
<ol>
<li>版本1：只能使用<code>:key</code>参数读取数据记录。</li>
<li>版本2：新增了可使用其他字段（唯一字段）来读取数据记录。</li>
</ol>
</div>











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>reference</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">ReactComponent</span>


            
            </td>

            

            

            <td class="description last"><p>React对应组件引用</p></td>
        </tr>

    
    </tbody>
</table>
















<h5>Returns:</h5>

        
<div class="param-desc">
    <p>生成函数</p>
</div>



<dl class="param-type">
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">function</span>


    </dd>
</dl>

    



        
    

    

    
</article>

</section>




    
    
</div>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Fri Apr 15 2022 15:55:10 GMT+0800 (China Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
<script src="scripts/polyfill.js"></script>
<script src="scripts/linenumber.js"></script>

<script src="scripts/search.js" defer></script>



</body>
</html>